package com.wl.common.system.support.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author: wanglin
 * @date: 2023-10-17 周二
 * @Version: 1.0
 * @Description:
 */
@Data
public class UserRoleDTO {
    @NotBlank(message = "用户账号不能为空")
    @Schema(description = "用户账号")
    private String userId;

    @NotEmpty(message = "角色ids不能为空")
    @Schema(description = "角色ids")
    private List<String> roleIds;
}
